.class public Lcom/instagram/android/d/e/al;
.super Lcom/instagram/android/d/j/g;
.source "UserProfileSaveRequest.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/d/j/g",
        "<",
        "Lcom/instagram/android/model/b/e;",
        ">;"
    }
.end annotation


# instance fields
.field private final a:Lcom/instagram/android/model/b/o;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/support/v4/app/aj;Lcom/instagram/android/model/b/o;Lcom/instagram/android/d/j/a;)V
    .locals 1
    .parameter
    .parameter
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Landroid/support/v4/app/aj;",
            "Lcom/instagram/android/model/b/o;",
            "Lcom/instagram/android/d/j/a",
            "<",
            "Lcom/instagram/android/model/b/e;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 33
    invoke-static {}, Lcom/instagram/android/util/w;->a()I

    move-result v0

    invoke-direct {p0, p1, p2, v0, p4}, Lcom/instagram/android/d/j/g;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;ILcom/instagram/android/d/j/a;)V

    .line 34
    iput-object p3, p0, Lcom/instagram/android/d/e/al;->a:Lcom/instagram/android/model/b/o;

    .line 35
    return-void
.end method


# virtual methods
.method public a()Lcom/instagram/android/d/b/a;
    .locals 1

    .prologue
    .line 49
    sget-object v0, Lcom/instagram/android/d/b/a;->a:Lcom/instagram/android/d/b/a;

    return-object v0
.end method

.method protected a(Lcom/instagram/android/d/b/c;)V
    .locals 2
    .parameter

    .prologue
    .line 59
    const-string v0, "gender"

    iget-object v1, p0, Lcom/instagram/android/d/e/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->g()I

    move-result v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 60
    const-string v0, "username"

    iget-object v1, p0, Lcom/instagram/android/d/e/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 61
    const-string v0, "first_name"

    iget-object v1, p0, Lcom/instagram/android/d/e/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 62
    const-string v0, "phone_number"

    iget-object v1, p0, Lcom/instagram/android/d/e/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->e()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 63
    const-string v0, "email"

    iget-object v1, p0, Lcom/instagram/android/d/e/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->f()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 64
    const-string v0, "external_url"

    iget-object v1, p0, Lcom/instagram/android/d/e/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 65
    const-string v0, "biography"

    iget-object v1, p0, Lcom/instagram/android/d/e/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->d()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p1, v0, v1}, Lcom/instagram/android/d/b/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 68
    return-void
.end method

.method public a(Ljava/lang/String;Lcom/fasterxml/jackson/a/l;Lcom/instagram/android/d/j/r;)Z
    .locals 2
    .parameter
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Lcom/fasterxml/jackson/a/l;",
            "Lcom/instagram/android/d/j/r",
            "<",
            "Lcom/instagram/android/model/b/e;",
            ">;)Z"
        }
    .end annotation

    .prologue
    .line 73
    const-string v0, "user"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 74
    invoke-virtual {p2}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 76
    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/d/e/al;->a:Lcom/instagram/android/model/b/o;

    invoke-virtual {v1}, Lcom/instagram/android/model/b/o;->h()Lcom/instagram/android/model/b/e;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/service/a;->a(Lcom/instagram/android/model/b/e;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 77
    invoke-static {}, Lcom/instagram/service/d;->a()Lcom/instagram/service/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/service/d;->b()V

    .line 80
    :cond_0
    invoke-static {p2}, Lcom/instagram/android/model/b/l;->a(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/android/model/b/e;

    move-result-object v0

    .line 81
    invoke-virtual {p3, v0}, Lcom/instagram/android/d/j/r;->a(Ljava/lang/Object;)V

    .line 82
    const/4 v0, 0x1

    .line 84
    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public a_(Lcom/instagram/android/d/j/j;)Z
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/j",
            "<",
            "Lcom/instagram/android/model/b/e;",
            ">;)Z"
        }
    .end annotation

    .prologue
    .line 89
    const/4 v0, 0x0

    return v0
.end method

.method public d()Z
    .locals 1

    .prologue
    .line 54
    const/4 v0, 0x1

    return v0
.end method

.method public e()Z
    .locals 1

    .prologue
    .line 44
    const/4 v0, 0x1

    return v0
.end method

.method protected f()Ljava/lang/String;
    .locals 1

    .prologue
    .line 39
    const-string v0, "accounts/edit_profile/"

    return-object v0
.end method
